package com.acegear.horizon.domain.events;

/**
 * Created by guoweike on 17/3/5.
 */

public class UserEquipCreateEvent extends BaseEvent {

  private Long userId;
  private Long userEquipId;

  public UserEquipCreateEvent(Long userId, Long userEquipId) {
    this.userId = userId;
    this.userEquipId = userEquipId;
    genEventId();
  }

  public UserEquipCreateEvent() {
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public Long getUserEquipId() {
    return userEquipId;
  }

  public void setUserEquipId(Long userEquipId) {
    this.userEquipId = userEquipId;
  }

  @Override
  public String routingKey() {
    return "horizon.domain.equip.new";
  }
}
